#ifndef __UART_H
#define	__UART_H

#include "stm8s.h"
#include "stm8s_clk.h"
#include <stdio.h>




extern void UART_Configuration(void);
extern void UART_send_byte(uint8_t byte , uint8_t mode);
extern void UART_Send(uint8_t *Buffer, uint16_t Length);
extern uint8_t UART_Recive(void);
extern int fputc(int ch, FILE *f);
extern void UART_RX_ISR(uint16_t data) ;
extern bool UART_Get_Data(uint16_t *ptr) ;
extern void UartRxParse(void) ;

#endif /* __UART_H */
